 
public class Monster extends Enemy{
	public Monster(int t) {
		switch (t) {
		case 1:
			this.setType("[风魔龙]");
			this.setLife(1000);
			this.setAttack(100);
			this.setDefend(10);
			this.setMiss(20);
			this.setBlood(0);
			break;
		case 2:
			this.setType("[公子]");
			this.setLife(2000);
			this.setAttack(200);
			this.setDefend(20);
			this.setMiss(20);
			this.setBlood(0);
			break;
		case 3:
			this.setType("[女士]");
			this.setLife(3000);
			this.setAttack(300);
			this.setDefend(30);
			this.setMiss(30);
			this.setBlood(0);
			break;
		case 4:
			this.setType("[雷电将军]");
			this.setLife(4000);
			this.setAttack(400);
			this.setDefend(40);
			this.setMiss(30);
			this.setBlood(0);
			break;
		case 5:
			this.setType("[散兵]");
			this.setLife(5000);
			this.setAttack(500);
			this.setDefend(50);
			this.setMiss(40);
			this.setBlood(0);
			break;
		case 6:
			this.setType("[水神]");
			this.setLife(6000);
			this.setAttack(600);
			this.setDefend(60);
			this.setMiss(40);
			this.setBlood(0);
			break;	
		case 7:
			this.setType("[你的血亲]");
			this.setLife(7000);
			this.setAttack(700);
			this.setDefend(70);
			this.setMiss(40);
			this.setBlood(0);
			break;		
		default:
			System.out.println("输入错误");
			break;
		}
		this.setLive(true);
		this.setMaxLife(this.getLife());
		//maxLife=life;
	}
}